package org.zhaya.sdk.swamill;

import io.logz.sawmill.Doc;
import io.logz.sawmill.PipelineExecutionMetricsTracker;
import io.logz.sawmill.ProcessResult;

import java.util.Optional;

public class NullPipelineExecutionMetricsTracker implements PipelineExecutionMetricsTracker {

    @Override
    public void pipelineFinishedSuccessfully(String pipelineId, Doc doc, long timeTookNs) {


    }

    @Override
    public void pipelineFailed(String pipelineId, Doc doc) {


    }

    @Override
    public void pipelineExpired(String pipelineId, Doc doc) {


    }

    @Override
    public void docDropped(String pipelineId, Doc doc) {


    }

    @Override
    public void processorFinishedSuccessfully(String pipelineId, String processorName, long timeTookNs) {


    }

    @Override
    public void processorFailed(String pipelineId, String processorName, Doc doc) {

    }


    @Override
    public void pipelineFailedOnUnexpectedError(String pipelineId, Doc doc, Exception e) {


    }

    @Override
    public void overtimeProcessingDoc(String pipelineId, Doc doc) {


    }

}
